
/**
 * @cat Mail
 * @name Renaissance.MailinatorInbox
 * @desc Mailinator inbox
 * @param {String} id inbox name
 * @return {Object} object
 */
function Renaissance.MailinatorInbox(id) {
	this.id = id;
	this.rssProxy = new Renaissance.YahooPipeRssProxy();
}
/**
 * @cat Mail
 * @name Renaissance.MailinatorInbox.prototype.fetch
 * @desc featch emails
 * @param {Function} callback callback function to handle the output
 */
Renaissance.MailinatorInbox.prototype.fetch = function (callback) {
	var base = 'http://www.mailinator.com/rss.jsp?email=' + escape(this.id);
	return this.rssProxy.proxy(callback, base);
};
